﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Config.aspx.cs" Inherits="Config" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Uppsetningarsíða</title>
    <link rel="stylesheet" type="text/css" href="main.css" />
</head>
<body>
    <form id="form1" runat="server">
    <!-- Begin Wrapper -->
   <div id="wrapper">
   
         <!-- Begin Header -->
       <div id="header" 
                   style="border: medium outset #FFFFFF; background-image: none; background-color:#0000cd">			   
		     <table style="width:100%;">
                 <tr>
                     <td valign="middle" width="100">
        		        <asp:ImageButton ID="_ibmHomePage" runat="server" Height="97px" 
                         ImageAlign="Left" ImageUrl="~/Myndir/Logo_nota.JPG" Width="84px" 
                         onclick="_ibmHomePage_Click" />                          
                     </td>
                     <td align="center" valign="middle">
                        <asp:Label ID="_lblHeaderText" runat="server"  ForeColor="White" Text="Tímaskráning.is" 
                         Font-Bold="True" Font-Size="28pt"></asp:Label>
                    </td>
                    <td width="100">                    
                    </td>
                </tr>
             </table>              
        </div>
		 <!-- End Header -->	 
		 

		 <!-- Begin subHeader -->
		<div id="subHeader"
		        style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
		 
		 <table   style="width:100%;">
		    <tr>
		        <td> 
                    <asp:Image ID="_imgConfirm" runat="server" Height="24px" ImageAlign="Right" 
                    ImageUrl="~/Myndir/notaconfirm.JPG" Width="29px" />
                    <asp:Label ID="_lblLogin" runat="server"  ForeColor="White" Text="Innskráning  - "></asp:Label>
                    <asp:LinkButton ID="_lbtnCompanyBooking" runat="server" Font-Underline="false" ForeColor="White" 
                        onclick="_lbtnCompanyBooking_Click">Heimasvæði - </asp:LinkButton>    
		            <asp:Label ID="_lblConfig" runat="server" Font-Bold="True" ForeColor="White" 
                        Text="Stillingar"></asp:Label>
		        </td>
            </tr>	         
        </table>		 
        </div>		 

	     <!-- End subHeader -->
	     
		 <!-- Begin Left Column -->
		 
		 <div id="leftcolumn"            
             style="border: medium outset #FFFFFF; background-color: #0000cd; background-image: none">
             
                <table style="width:100%; height: 182px;">
                 <tr>
                    <td>
                        <asp:LinkButton ID="_lbtnCompanyBooking1" runat="server" ForeColor="White" 
                        onclick="_lbtnCompanyBooking_Click">Heimasvæði</asp:LinkButton>
                    </td>            
                 </tr>
                 <tr>
                    <td>
                    </td>
                 </tr>
                 <tr>
                    <td>
                        <asp:LinkButton ID="_lbtnOpenHours" runat="server" ForeColor="White" 
                        onclick="_lbtnOpenHours_Click">Skrá opnunartíma</asp:LinkButton>
                    </td>
                 </tr>
                 <tr>
                    <td>
                    </td>
                 </tr>
                 <tr>
                    <td>
                        <asp:LinkButton ID="_lbtnTakeTime" runat="server" ForeColor="White" 
                        onclick="_lbtnTakeTime_Click">Skrá inn frí</asp:LinkButton>
                    </td>
                 </tr>
                 <tr>
                    <td>
                    </td>
                 </tr>
                 <tr>
                    <td>
                        <asp:LinkButton ID="_lbtnNewEntryCompany" runat="server" ForeColor="White" 
                            onclick="_lbtnNewEntryCompany_Click">Breyta einyrkja</asp:LinkButton>
                     </td>                    
                 </tr>                 
                 <tr>
                    <td>               
                    </td>
                 </tr>
                 <tr>
                    <td>                                   
                    </td>
                 </tr> 
                                   
                 <tr>
                    <td>               
                    </td>
                 </tr>
                 <tr>
                    <td>                                   
                    </td>
                 </tr> 
                                   
                 <tr>
                    <td>               
                    </td>
                 </tr>
                 <tr>
                    <td>                                   
                    </td>
                 </tr>
                 <tr>
                    <td>                                   
                    </td>
                 </tr>
                 <tr>
                    <td>                                   
                    </td>
                 </tr>
                 <tr>
                    <td>                                   
                    </td>
                 </tr>
                 <tr>
                    <td>                                   
                    </td>
                 </tr>
                 <tr>
                    <td>
                        &nbsp;</td>
                 </tr>                   
             </table>		 
         </div>
		<!-- End Left Column -->
		
		<!-- Begin Right Column --> 
		
		<div id="rightcolumn">
		    <table>
				 <tr>
				    <td>     
                    <asp:Label ID="_lblWorkstation" runat="server" Text="Starfstöð"></asp:Label>
		                <asp:GridView ID="_dtgWorkstation" runat="server" 
                            AllowSorting="True" CellPadding="4" ForeColor="#333333" 
                            AutoGenerateColumns="False" PageSize="5" 
                            Width="419px" 
                            DataKeyNames="CompanyId, WorkstationId" 
                            onrowdeleting="_dtgWorkstation_RowDeleting" 
                            onrowediting="_dtgWorkstation_RowEditing" 
                            onrowdatabound="_dtgWorkstation_RowDataBound" 
                            >
                        <PagerSettings PageButtonCount="5" />
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center"/>
                        <Columns>
                        <asp:TemplateField HeaderText="">
                         <ItemTemplate>
                           <asp:LinkButton ID="_lnkWorkstationChange" 
                             CommandArgument='<%# Eval("WorkstationId") %>' 
                             CommandName="Edit" runat="server">Breyta</asp:LinkButton>
                         </ItemTemplate>
                       </asp:TemplateField>
                        <asp:TemplateField HeaderText="">
                         <ItemTemplate>
                           <asp:LinkButton ID="_lnkWorkstaionDelete" 
                             CommandArgument='<%# Eval("WorkstationId") %>' 
                             CommandName="Delete" runat="server">Eyða</asp:LinkButton>
                         </ItemTemplate>
                       </asp:TemplateField>
                        <asp:BoundField HeaderText="Nafn" DataField="Name"/>
                        </Columns>
                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <HeaderStyle BackColor="#0000cd" Font-Bold="True" ForeColor="White" />
                        <EditRowStyle BackColor="#2461BF" />
                        <AlternatingRowStyle BackColor="White" HorizontalAlign="Center"/>
                        </asp:GridView>
                    </td>
                </tr>
		        <tr>
		            
                </tr>
                <tr>
                     <td align="right">                
                        <asp:Button ID="_btnNewWorkstation" runat="server"
                        Text="Nýskrá Starfstöð" onclick="_btnNewWorkstation_Click"/>
                     </td>
                </tr>
                 <tr>
				    <td>     
                        <asp:Label ID="_lblAction" runat="server" Text="Aðgerðir"></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>				    
                        <asp:GridView ID="_dtgAction" runat="server" CellPadding="4" 
                        ForeColor="#333333" 
                        AllowSorting="True" AutoGenerateColumns="False" 
                        PageSize="5" onrowdeleting="_dtgAction_RowDeleting" 
                        DataKeyNames="CompanyId,ActivityId" Width="419px" 
                        onrowediting="_dtgAction_RowEditing" Height="75px" 
                            onrowdatabound="_dtgAction_RowDataBound">
                        <PagerSettings PageButtonCount="5" />
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center"/>
                        <Columns>
                        <asp:TemplateField HeaderText="">
                         <ItemTemplate>
                           <asp:LinkButton ID="_lnkActionChange" 
                             CommandArgument='<%# Eval("ActivityId") %>' 
                             CommandName="Edit" runat="server">Breyta</asp:LinkButton>
                         </ItemTemplate>
                       </asp:TemplateField>
                        <asp:TemplateField HeaderText="">
                         <ItemTemplate>
                           <asp:LinkButton ID="_lnkActionDelete" 
                             CommandArgument='<%# Eval("ActivityId") %>' 
                             CommandName="Delete" runat="server">Eyða</asp:LinkButton>
                         </ItemTemplate>
                       </asp:TemplateField>
                        <asp:BoundField HeaderText="Tegund" DataField="Name" />
                        <asp:BoundField HeaderText="Tímalengd(Mínútur)" DataField="Duration" />
                        </Columns>
                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <HeaderStyle BackColor="#0000cd" Font-Bold="True" ForeColor="White" />
                        <EditRowStyle BackColor="#2461BF" />
                        <AlternatingRowStyle BackColor="White" HorizontalAlign="Center"/>
                        </asp:GridView>
                    </td>
                 </tr>
                 <tr>
                    <td align="right">              
                        <asp:Button ID="_btnNewAction" runat="server"  
                        Text="Nýskrá aðgerð" onclick="_btnNewAction_Click" />
                    </td>
                 </tr>              
		 </table>
		 </div>
		 <!-- End Right Column -->
		 
		 <!-- Begin Footer -->
		 <div id="footer" 
             style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
                <table style="width:100%;">
                 <tr>
                     <td align="center">
                        <asp:Label ID="_lblGroup10" runat="server"  ForeColor="White" Text="Hópur10 © 2008" 
                             Font-Bold="False" Font-Size="8pt"></asp:Label>
                    </td>
                </tr>
             </table>
		  </div>
		 <!-- End Footer -->
		 
   </div>
   <!-- End Wrapper -->
    </form>
</body>
</html>
